package com.example.testdemo.kinetic.data;

public abstract class DataOfTank extends DataOfKinetic {

	private int mDefence = 0;
	private int mDefence_d = 0;

	public DataOfTank(int strength, int defence, int moveSpeed) {
		super(strength, moveSpeed);
		mDefence = defence;
		mDefence_d = defence;
	}

	public void setDefence(int defence) {
		mDefence = defence;
	}

	public int getDefence() {
		return mDefence;
	}

	public void reset() {
		super.reset();
		mDefence = mDefence_d;
	}
}
